import Http from '@/http'

export function newsListApi(params:any){
    return Http.post('news/list', params)
}

export function newsApi(id){
    return Http.get('news/detail/' + id)
}


export function newsPageApi(params:any){
    return Http.post('news/page', params)
}